package com.mt.fpb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wx_product_order")
public class WxProductOrder {
    @TableId(value = "id")
    private  String  id;

    private String employeeId;

    @TableField(value = "product_id")
    private String productId;


    private float  payMoney;

    private Date  effectiveTime;

    private String orderStatus;

    private Date  startTime;

    private float orderMoney;


    private Date  endTime;

    @TableField(exist = false)
    @Transient
    private WxProduct wxProduct;

}
